package org.zlm.git_study.pojo;

import lombok.Data;
import org.zlm.git_study.annotation.UnitBigDecConvert;
import org.zlm.git_study.enums.UnitConvertType;

import java.math.BigDecimal;

/**
 * @author zlm
 * @date 2024/1/4
 */
@Data
public class SumReport {
    //支付总金额
    @UnitBigDecConvert(name= UnitConvertType.TEN_THOUSAND_YUAN)
    private BigDecimal payTotalAmount;
    //jc金额百分比
    @UnitBigDecConvert(name= UnitConvertType.PERCENTAGE)
    private BigDecimal jcAmountPer;
    //jc技术千分比
    @UnitBigDecConvert(name= UnitConvertType.PERMIL)
    private BigDecimal jcCountPer;
    //保留两位小数
    @UnitBigDecConvert(name= UnitConvertType.ACCURACY)
    private BigDecimal length;
}
